﻿using System;
using System.Collections.Generic;

using System.Text;
using HZ.DrugTrade.Model.Enum;
namespace HZ.DrugTrade.Model.Query
{
    /// <summary>
    /// 企业查询用实体类
    /// </summary>
    [Serializable]
    public class Company : IQuery
    {
        /// <summary>
        /// 企业编号 
        /// </summary>
        public string CompanyID
        {
            set;
            get;
        }
        /// <summary>
        /// 企业名称
        /// </summary>
        public string CompanyName
        {
            set;
            get;
        }

        /// <summary>
        /// 企业类型
        /// </summary>
        public EnumCompanyType? CompanyType
        {
            set;
            get;
        }
        /// <summary>
        /// 排序字段【格式如：UserID ASC,UserName DESC, IsAdmin ASC】
        /// </summary>
        public string SortFields { get; set; }

        /// <summary>
        /// 自定义查询字段[格式: UserID = '1234' AND Name = 'Zeus2' AND ID NOT (SELECT ID FROM XX)]
        /// </summary>
        public string Append { get; set; }
    }
}
